package org.dromara.autocode.mapper;

import org.dromara.autocode.domain.entity.SysAutoCodePart;
import org.dromara.autocode.domain.entity.SysAutoCodeRule;
import org.dromara.common.mybatis.core.mapper.BaseMapper;

import java.util.List;

public interface SysAutoCodeRuleMapper extends BaseMapper<SysAutoCodeRule> {

    public List<SysAutoCodeRule> selectSysAutoCodeResultList(SysAutoCodeRule sysAutoCodeRule);

    public SysAutoCodeRule findById(Long ruleId);

    public int add(SysAutoCodeRule sysAutoCodeRule);

    public int updateSysAutoCodeRule(SysAutoCodeRule sysAutoCodeRule);

    public int deleteById(Long ruleId);

    public SysAutoCodeRule checkRuleCodeUnique(String ruleCode);

    public SysAutoCodeRule checkRuleNameUnique(String ruleName);
}
